package model 
{
	import flash.utils.ByteArray;
	/**
	 * ...
	 * @author Yang Wang
	 */
	public class Utils 
	{
		public static function randomColor() : int {
			return Math.random()*0xffffff;
		}
		
		
		public static function copyArray(arrayToCopy:Array):Array {
			var tempArray:Array = new Array();
			for each (var thing:* in arrayToCopy) {
				tempArray.push(thing);
			}
			return tempArray;
		}
	}

}